<template>
  <div id="app">

    <!--路由占位符：将路由路径所指定的组件渲染到页面中--> 
    
    <router-view />
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
    
  },
  methods:{
    goHome(){
      this.$router.push('/home');
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
